package cn.yangtianxia.org.domain;

import java.util.Date;
import java.util.List;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.yangtianxia.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author yangtianxia
 * @since 2022-03-28
 */
@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;

    @Excel(name = "店铺名字", width = 30, isImportField = "true_st")
    private String name;
    @Excel(name = "联系电话", width = 30, isImportField = "true_st")
    private String tel;

    @Excel(name = "注册时间", width = 30, isImportField = "true_st",exportFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime = new Date();
    //状态
    @Excel(name = "店铺状态", replace = {"驳回_-1","待审核_0","已审核_1","待激活_2"},width = 30, isImportField = "true_st")
    private Integer state = 0;
    @Excel(name = "店铺地址",width = 30, isImportField = "true_st")
    private String address;
    @Excel(name = "店招",width = 30, isImportField = "true_st")
    private String logo;

    private Long adminId;

    private Employee admin;

    private List<ShopAuditLog> shopAuditLogs;
}
